package com.warrior.respository;

import com.warrior.entity.AdminUser;
import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.data.repository.PagingAndSortingRepository;
import org.springframework.stereotype.Repository;

/**
 * admin repository层
 * Created by shawn on 2017/4/25.
 */
@Repository
public interface IAdminRepository extends JpaRepository<AdminUser,String>,PagingAndSortingRepository<AdminUser,String>{


    AdminUser findAdminUserByUserName(String userName);


}
